<?php include("../../MerchandiseBay/conn.php"); ?>
<?php

	$states = array();

	//$states["Australia"] = array("New South Wales", "Queensland", "Victoria", "South Australia", "Tasmania", "Western Australia", "Northern Territory");

	//$states["USA"] = array("California", "New York", "Ohio", "Colorado", "Florida", "Texas", "Arizona", "Washington");

	//if(isset($_POST["country"]) && isset($states[$_POST["country"]]))
	//{
		//foreach($states[$_POST["country"]] as $state)
		//{
			//printf("%s,", $state);
		//}
	//}

  $make=$_POST["make"];
  
  $sqlModel="select * from model where make='$make'";
  $qryModel=mysql_query($sqlModel,$conn);
  
  while($rowModel=mysql_fetch_assoc($qryModel))
    {
       //printf("%s,", $rowModel['model']);
       printf($rowModel['model'].",");

    }

?>